<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh">

<head>
    <meta charset="UTF-8" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/css/login.css}" />
</head>

<body>

<div class="login-container">
    <h2>用户登录</h2>
    <form action="login" method="POST">
        <div class="form-group user-icon">
            <label for="userid">账号</label>
            <input type="text" id="userid" name="userid" required>
        </div>
        <div class="form-group lock-icon">
            <label for="password">密码</label>
            <input type="password" id="password" name="password" required>
        </div>
        <button type="submit" class="btn">登录</button>
        <div class="error-message"></div>
    </form>
    <div class="footer">
        <p><a href="/register">注册新用户</a></p>
    </div>
</div>

</body>

</html>